package com.tjetc.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tjetc.entity.Tag;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TagsMapper extends BaseMapper<Tag> {
    List<Tag> selectTagsByIds(@Param("ids") List<Integer> ids);
    List<Tag> getActiveTags(String tpye);
    int updateHotnessByTagId(@Param("tagId") Long tagId, @Param("hotness") Long hotness);

    List<String> getSpotTag();
}
